package gof_001_创建型_Create.gof_001_单例_Singleton.gof_001_Multiple;

public class MultipleMain {
    public static void main(String[] args) {
        Student s1 = new Student();
        Student s2 = new Student();

        //因为 Student 不是单例,所以每次创建的对象都是不同的对象
        System.out.println("s1 = " + s1);       //s1 = gof_01_Create.gof_001_Singleton.gof_001_mul.Student@1b6d3586
        System.out.println("s2 = " + s2);       //s2 = gof_01_Create.gof_001_Singleton.gof_001_mul.Student@4554617c
    }
}
